package com.sinothk.fc.collect.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sinothk.fc.collect.entity.CollectEntity;

/**
 * @Description: 商品收藏
 * @Author: Liangyt
 * @Date: 2022-10-05
 * @Version: V1.0
 */
public interface ICollectService extends IService<CollectEntity> {

    boolean addOrCancelCollect(String storeId, String goodsId) throws Exception;

    CollectEntity getCurrCollectStateByStoreId(String storeId) throws Exception;

    CollectEntity getCurrCollectStateByGoodsId(String storeId, String goodsId) throws Exception;
}
